package com.fanrui.code.entity;

import com.fanrui.code.entity.FamilyList;
import com.fanrui.code.entity.FamilyListExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FamilyListMapper {
    long countByExample(FamilyListExample example);

    int deleteByExample(FamilyListExample example);

    int insert(FamilyList record);

    int insertSelective(FamilyList record);

    List<FamilyList> selectByExample(FamilyListExample example);

    int updateByExampleSelective(@Param("record") FamilyList record, @Param("example") FamilyListExample example);

    int updateByExample(@Param("record") FamilyList record, @Param("example") FamilyListExample example);
    /** 重写的 **/
    List<FamilyList> selectByClubId(Integer clubId);
    void deleteByClubId(@Param("playerId")Long playerId, @Param("clubId")Integer clubId);
    int updateByKey(@Param("record") FamilyList record);
    List<FamilyList> queryPlayersClub(Long playerId);
}